func: main.o funa.o funb.o
	@g++ -o func main.o funa.o funb.o
	@echo "compile compelect ..."

main.o: main.cpp main.h
	g++ -c main.cpp 	# 若不加 @， 则会输出该命令 

funa.o: funa.cpp funa.h
	@g++ -c funa.cpp  

funb.o: funb.cpp funb.h
	@g++ -c funb.cpp  

clean:
	@rm -rf *.o func *.h.gch 			
	@echo "clean ....	"

